package com.wn.entity;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @ author     ：NST
 * @ date       ：Created in 2022/10/19 11:59
 * @ description：借用出库申请表
 * @ modified By：
 * @ version:     1.0
 */
@Data
public class BorrowWarehouseApplication {
    private int id;
    private Hr applicant;                                //申请人
    @NotNull(message = "库存台账信息不能为空")
    private InventoryBookkeeping inventoryBookkeeping;   //库存台账信息
    @Min(value = 1,message = "数量不得少于1")
    private int number;                                  //数量
    private String applyTime;                            //申请时间
    @NotEmpty(message = "预计返还时间不得为空")
    private String expectReturnTime;                     //预记返还时间
    private String activitiInstanceId;                   //流程id
    private String identifier;                           //申请单编号
}
